package com.zheng.umbrella.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UmbrellaHardwareMqttcommandLogExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public UmbrellaHardwareMqttcommandLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andReqTimeIsNull() {
            addCriterion("req_time is null");
            return (Criteria) this;
        }

        public Criteria andReqTimeIsNotNull() {
            addCriterion("req_time is not null");
            return (Criteria) this;
        }

        public Criteria andReqTimeEqualTo(Date value) {
            addCriterion("req_time =", value, "reqTime");
            return (Criteria) this;
        }

        public Criteria andReqTimeNotEqualTo(Date value) {
            addCriterion("req_time <>", value, "reqTime");
            return (Criteria) this;
        }

        public Criteria andReqTimeGreaterThan(Date value) {
            addCriterion("req_time >", value, "reqTime");
            return (Criteria) this;
        }

        public Criteria andReqTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("req_time >=", value, "reqTime");
            return (Criteria) this;
        }

        public Criteria andReqTimeLessThan(Date value) {
            addCriterion("req_time <", value, "reqTime");
            return (Criteria) this;
        }

        public Criteria andReqTimeLessThanOrEqualTo(Date value) {
            addCriterion("req_time <=", value, "reqTime");
            return (Criteria) this;
        }

        public Criteria andReqTimeIn(List<Date> values) {
            addCriterion("req_time in", values, "reqTime");
            return (Criteria) this;
        }

        public Criteria andReqTimeNotIn(List<Date> values) {
            addCriterion("req_time not in", values, "reqTime");
            return (Criteria) this;
        }

        public Criteria andReqTimeBetween(Date value1, Date value2) {
            addCriterion("req_time between", value1, value2, "reqTime");
            return (Criteria) this;
        }

        public Criteria andReqTimeNotBetween(Date value1, Date value2) {
            addCriterion("req_time not between", value1, value2, "reqTime");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeIsNull() {
            addCriterion("req_machine_code is null");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeIsNotNull() {
            addCriterion("req_machine_code is not null");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeEqualTo(String value) {
            addCriterion("req_machine_code =", value, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeNotEqualTo(String value) {
            addCriterion("req_machine_code <>", value, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeGreaterThan(String value) {
            addCriterion("req_machine_code >", value, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeGreaterThanOrEqualTo(String value) {
            addCriterion("req_machine_code >=", value, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeLessThan(String value) {
            addCriterion("req_machine_code <", value, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeLessThanOrEqualTo(String value) {
            addCriterion("req_machine_code <=", value, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeLike(String value) {
            addCriterion("req_machine_code like", value, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeNotLike(String value) {
            addCriterion("req_machine_code not like", value, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeIn(List<String> values) {
            addCriterion("req_machine_code in", values, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeNotIn(List<String> values) {
            addCriterion("req_machine_code not in", values, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeBetween(String value1, String value2) {
            addCriterion("req_machine_code between", value1, value2, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqMachineCodeNotBetween(String value1, String value2) {
            addCriterion("req_machine_code not between", value1, value2, "reqMachineCode");
            return (Criteria) this;
        }

        public Criteria andReqCommandIsNull() {
            addCriterion("req_command is null");
            return (Criteria) this;
        }

        public Criteria andReqCommandIsNotNull() {
            addCriterion("req_command is not null");
            return (Criteria) this;
        }

        public Criteria andReqCommandEqualTo(String value) {
            addCriterion("req_command =", value, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCommandNotEqualTo(String value) {
            addCriterion("req_command <>", value, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCommandGreaterThan(String value) {
            addCriterion("req_command >", value, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCommandGreaterThanOrEqualTo(String value) {
            addCriterion("req_command >=", value, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCommandLessThan(String value) {
            addCriterion("req_command <", value, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCommandLessThanOrEqualTo(String value) {
            addCriterion("req_command <=", value, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCommandLike(String value) {
            addCriterion("req_command like", value, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCommandNotLike(String value) {
            addCriterion("req_command not like", value, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCommandIn(List<String> values) {
            addCriterion("req_command in", values, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCommandNotIn(List<String> values) {
            addCriterion("req_command not in", values, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCommandBetween(String value1, String value2) {
            addCriterion("req_command between", value1, value2, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCommandNotBetween(String value1, String value2) {
            addCriterion("req_command not between", value1, value2, "reqCommand");
            return (Criteria) this;
        }

        public Criteria andReqCodeIsNull() {
            addCriterion("req_code is null");
            return (Criteria) this;
        }

        public Criteria andReqCodeIsNotNull() {
            addCriterion("req_code is not null");
            return (Criteria) this;
        }

        public Criteria andReqCodeEqualTo(Integer value) {
            addCriterion("req_code =", value, "reqCode");
            return (Criteria) this;
        }

        public Criteria andReqCodeNotEqualTo(Integer value) {
            addCriterion("req_code <>", value, "reqCode");
            return (Criteria) this;
        }

        public Criteria andReqCodeGreaterThan(Integer value) {
            addCriterion("req_code >", value, "reqCode");
            return (Criteria) this;
        }

        public Criteria andReqCodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("req_code >=", value, "reqCode");
            return (Criteria) this;
        }

        public Criteria andReqCodeLessThan(Integer value) {
            addCriterion("req_code <", value, "reqCode");
            return (Criteria) this;
        }

        public Criteria andReqCodeLessThanOrEqualTo(Integer value) {
            addCriterion("req_code <=", value, "reqCode");
            return (Criteria) this;
        }

        public Criteria andReqCodeIn(List<Integer> values) {
            addCriterion("req_code in", values, "reqCode");
            return (Criteria) this;
        }

        public Criteria andReqCodeNotIn(List<Integer> values) {
            addCriterion("req_code not in", values, "reqCode");
            return (Criteria) this;
        }

        public Criteria andReqCodeBetween(Integer value1, Integer value2) {
            addCriterion("req_code between", value1, value2, "reqCode");
            return (Criteria) this;
        }

        public Criteria andReqCodeNotBetween(Integer value1, Integer value2) {
            addCriterion("req_code not between", value1, value2, "reqCode");
            return (Criteria) this;
        }

        public Criteria andReqMessageIsNull() {
            addCriterion("req_message is null");
            return (Criteria) this;
        }

        public Criteria andReqMessageIsNotNull() {
            addCriterion("req_message is not null");
            return (Criteria) this;
        }

        public Criteria andReqMessageEqualTo(String value) {
            addCriterion("req_message =", value, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqMessageNotEqualTo(String value) {
            addCriterion("req_message <>", value, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqMessageGreaterThan(String value) {
            addCriterion("req_message >", value, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqMessageGreaterThanOrEqualTo(String value) {
            addCriterion("req_message >=", value, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqMessageLessThan(String value) {
            addCriterion("req_message <", value, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqMessageLessThanOrEqualTo(String value) {
            addCriterion("req_message <=", value, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqMessageLike(String value) {
            addCriterion("req_message like", value, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqMessageNotLike(String value) {
            addCriterion("req_message not like", value, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqMessageIn(List<String> values) {
            addCriterion("req_message in", values, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqMessageNotIn(List<String> values) {
            addCriterion("req_message not in", values, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqMessageBetween(String value1, String value2) {
            addCriterion("req_message between", value1, value2, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqMessageNotBetween(String value1, String value2) {
            addCriterion("req_message not between", value1, value2, "reqMessage");
            return (Criteria) this;
        }

        public Criteria andReqDataIsNull() {
            addCriterion("req_data is null");
            return (Criteria) this;
        }

        public Criteria andReqDataIsNotNull() {
            addCriterion("req_data is not null");
            return (Criteria) this;
        }

        public Criteria andReqDataEqualTo(String value) {
            addCriterion("req_data =", value, "reqData");
            return (Criteria) this;
        }

        public Criteria andReqDataNotEqualTo(String value) {
            addCriterion("req_data <>", value, "reqData");
            return (Criteria) this;
        }

        public Criteria andReqDataGreaterThan(String value) {
            addCriterion("req_data >", value, "reqData");
            return (Criteria) this;
        }

        public Criteria andReqDataGreaterThanOrEqualTo(String value) {
            addCriterion("req_data >=", value, "reqData");
            return (Criteria) this;
        }

        public Criteria andReqDataLessThan(String value) {
            addCriterion("req_data <", value, "reqData");
            return (Criteria) this;
        }

        public Criteria andReqDataLessThanOrEqualTo(String value) {
            addCriterion("req_data <=", value, "reqData");
            return (Criteria) this;
        }

        public Criteria andReqDataLike(String value) {
            addCriterion("req_data like", value, "reqData");
            return (Criteria) this;
        }

        public Criteria andReqDataNotLike(String value) {
            addCriterion("req_data not like", value, "reqData");
            return (Criteria) this;
        }

        public Criteria andReqDataIn(List<String> values) {
            addCriterion("req_data in", values, "reqData");
            return (Criteria) this;
        }

        public Criteria andReqDataNotIn(List<String> values) {
            addCriterion("req_data not in", values, "reqData");
            return (Criteria) this;
        }

        public Criteria andReqDataBetween(String value1, String value2) {
            addCriterion("req_data between", value1, value2, "reqData");
            return (Criteria) this;
        }

        public Criteria andReqDataNotBetween(String value1, String value2) {
            addCriterion("req_data not between", value1, value2, "reqData");
            return (Criteria) this;
        }

        public Criteria andResTimeIsNull() {
            addCriterion("res_time is null");
            return (Criteria) this;
        }

        public Criteria andResTimeIsNotNull() {
            addCriterion("res_time is not null");
            return (Criteria) this;
        }

        public Criteria andResTimeEqualTo(Date value) {
            addCriterion("res_time =", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeNotEqualTo(Date value) {
            addCriterion("res_time <>", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeGreaterThan(Date value) {
            addCriterion("res_time >", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("res_time >=", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeLessThan(Date value) {
            addCriterion("res_time <", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeLessThanOrEqualTo(Date value) {
            addCriterion("res_time <=", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeIn(List<Date> values) {
            addCriterion("res_time in", values, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeNotIn(List<Date> values) {
            addCriterion("res_time not in", values, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeBetween(Date value1, Date value2) {
            addCriterion("res_time between", value1, value2, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeNotBetween(Date value1, Date value2) {
            addCriterion("res_time not between", value1, value2, "resTime");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeIsNull() {
            addCriterion("res_machine_code is null");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeIsNotNull() {
            addCriterion("res_machine_code is not null");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeEqualTo(String value) {
            addCriterion("res_machine_code =", value, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeNotEqualTo(String value) {
            addCriterion("res_machine_code <>", value, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeGreaterThan(String value) {
            addCriterion("res_machine_code >", value, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeGreaterThanOrEqualTo(String value) {
            addCriterion("res_machine_code >=", value, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeLessThan(String value) {
            addCriterion("res_machine_code <", value, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeLessThanOrEqualTo(String value) {
            addCriterion("res_machine_code <=", value, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeLike(String value) {
            addCriterion("res_machine_code like", value, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeNotLike(String value) {
            addCriterion("res_machine_code not like", value, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeIn(List<String> values) {
            addCriterion("res_machine_code in", values, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeNotIn(List<String> values) {
            addCriterion("res_machine_code not in", values, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeBetween(String value1, String value2) {
            addCriterion("res_machine_code between", value1, value2, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResMachineCodeNotBetween(String value1, String value2) {
            addCriterion("res_machine_code not between", value1, value2, "resMachineCode");
            return (Criteria) this;
        }

        public Criteria andResCommandIsNull() {
            addCriterion("res_command is null");
            return (Criteria) this;
        }

        public Criteria andResCommandIsNotNull() {
            addCriterion("res_command is not null");
            return (Criteria) this;
        }

        public Criteria andResCommandEqualTo(String value) {
            addCriterion("res_command =", value, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCommandNotEqualTo(String value) {
            addCriterion("res_command <>", value, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCommandGreaterThan(String value) {
            addCriterion("res_command >", value, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCommandGreaterThanOrEqualTo(String value) {
            addCriterion("res_command >=", value, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCommandLessThan(String value) {
            addCriterion("res_command <", value, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCommandLessThanOrEqualTo(String value) {
            addCriterion("res_command <=", value, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCommandLike(String value) {
            addCriterion("res_command like", value, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCommandNotLike(String value) {
            addCriterion("res_command not like", value, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCommandIn(List<String> values) {
            addCriterion("res_command in", values, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCommandNotIn(List<String> values) {
            addCriterion("res_command not in", values, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCommandBetween(String value1, String value2) {
            addCriterion("res_command between", value1, value2, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCommandNotBetween(String value1, String value2) {
            addCriterion("res_command not between", value1, value2, "resCommand");
            return (Criteria) this;
        }

        public Criteria andResCodeIsNull() {
            addCriterion("res_code is null");
            return (Criteria) this;
        }

        public Criteria andResCodeIsNotNull() {
            addCriterion("res_code is not null");
            return (Criteria) this;
        }

        public Criteria andResCodeEqualTo(Integer value) {
            addCriterion("res_code =", value, "resCode");
            return (Criteria) this;
        }

        public Criteria andResCodeNotEqualTo(Integer value) {
            addCriterion("res_code <>", value, "resCode");
            return (Criteria) this;
        }

        public Criteria andResCodeGreaterThan(Integer value) {
            addCriterion("res_code >", value, "resCode");
            return (Criteria) this;
        }

        public Criteria andResCodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("res_code >=", value, "resCode");
            return (Criteria) this;
        }

        public Criteria andResCodeLessThan(Integer value) {
            addCriterion("res_code <", value, "resCode");
            return (Criteria) this;
        }

        public Criteria andResCodeLessThanOrEqualTo(Integer value) {
            addCriterion("res_code <=", value, "resCode");
            return (Criteria) this;
        }

        public Criteria andResCodeIn(List<Integer> values) {
            addCriterion("res_code in", values, "resCode");
            return (Criteria) this;
        }

        public Criteria andResCodeNotIn(List<Integer> values) {
            addCriterion("res_code not in", values, "resCode");
            return (Criteria) this;
        }

        public Criteria andResCodeBetween(Integer value1, Integer value2) {
            addCriterion("res_code between", value1, value2, "resCode");
            return (Criteria) this;
        }

        public Criteria andResCodeNotBetween(Integer value1, Integer value2) {
            addCriterion("res_code not between", value1, value2, "resCode");
            return (Criteria) this;
        }

        public Criteria andResMessageIsNull() {
            addCriterion("res_message is null");
            return (Criteria) this;
        }

        public Criteria andResMessageIsNotNull() {
            addCriterion("res_message is not null");
            return (Criteria) this;
        }

        public Criteria andResMessageEqualTo(String value) {
            addCriterion("res_message =", value, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResMessageNotEqualTo(String value) {
            addCriterion("res_message <>", value, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResMessageGreaterThan(String value) {
            addCriterion("res_message >", value, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResMessageGreaterThanOrEqualTo(String value) {
            addCriterion("res_message >=", value, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResMessageLessThan(String value) {
            addCriterion("res_message <", value, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResMessageLessThanOrEqualTo(String value) {
            addCriterion("res_message <=", value, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResMessageLike(String value) {
            addCriterion("res_message like", value, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResMessageNotLike(String value) {
            addCriterion("res_message not like", value, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResMessageIn(List<String> values) {
            addCriterion("res_message in", values, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResMessageNotIn(List<String> values) {
            addCriterion("res_message not in", values, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResMessageBetween(String value1, String value2) {
            addCriterion("res_message between", value1, value2, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResMessageNotBetween(String value1, String value2) {
            addCriterion("res_message not between", value1, value2, "resMessage");
            return (Criteria) this;
        }

        public Criteria andResDataIsNull() {
            addCriterion("res_data is null");
            return (Criteria) this;
        }

        public Criteria andResDataIsNotNull() {
            addCriterion("res_data is not null");
            return (Criteria) this;
        }

        public Criteria andResDataEqualTo(String value) {
            addCriterion("res_data =", value, "resData");
            return (Criteria) this;
        }

        public Criteria andResDataNotEqualTo(String value) {
            addCriterion("res_data <>", value, "resData");
            return (Criteria) this;
        }

        public Criteria andResDataGreaterThan(String value) {
            addCriterion("res_data >", value, "resData");
            return (Criteria) this;
        }

        public Criteria andResDataGreaterThanOrEqualTo(String value) {
            addCriterion("res_data >=", value, "resData");
            return (Criteria) this;
        }

        public Criteria andResDataLessThan(String value) {
            addCriterion("res_data <", value, "resData");
            return (Criteria) this;
        }

        public Criteria andResDataLessThanOrEqualTo(String value) {
            addCriterion("res_data <=", value, "resData");
            return (Criteria) this;
        }

        public Criteria andResDataLike(String value) {
            addCriterion("res_data like", value, "resData");
            return (Criteria) this;
        }

        public Criteria andResDataNotLike(String value) {
            addCriterion("res_data not like", value, "resData");
            return (Criteria) this;
        }

        public Criteria andResDataIn(List<String> values) {
            addCriterion("res_data in", values, "resData");
            return (Criteria) this;
        }

        public Criteria andResDataNotIn(List<String> values) {
            addCriterion("res_data not in", values, "resData");
            return (Criteria) this;
        }

        public Criteria andResDataBetween(String value1, String value2) {
            addCriterion("res_data between", value1, value2, "resData");
            return (Criteria) this;
        }

        public Criteria andResDataNotBetween(String value1, String value2) {
            addCriterion("res_data not between", value1, value2, "resData");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}